﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace OdeToFoo.Models
{



    public class OdeToFooDb : DbContext 
    {
        public OdeToFooDb() : base("name=DefaultConnection"){} //point to the connection in the Web.config file

        public DbSet<Restaurant> Restaurants { get; set; }
        public DbSet<RestaurantReview> Reviews { get; set; }
    }
}